package com.voice.core.api.enums;

import lombok.Getter;

@Getter
public enum HttpMethod {

    GET("GET", "application/x-www-form-urlencoded; charset=utf-8", "application/json; charset=utf-8"),
    POST_FORM("POST", "application/x-www-form-urlencoded; charset=utf-8", "application/json; charset=utf-8"),
    POST_BODY("POST", "application/json; charset=utf-8", "application/json; charset=utf-8"),
    POST_FORM_DATA("POST", "multipart/form-data; charset=utf-8", "application/json; charset=utf-8"),
    PUT_FORM("PUT", "application/x-www-form-urlencoded; charset=utf-8", "application/json; charset=utf-8"),
    PUT_BODY("PUT", "application/json; charset=utf-8", "application/json; charset=utf-8"),
    PATCH_FORM("PATCH", "application/x-www-form-urlencoded; charset=utf-8", "application/json; charset=utf-8"),
    PATCH_BODY("PATCH", "application/octet-stream; charset=utf-8", "application/json; charset=utf-8"),
    DELETE("DELETE", "application/x-www-form-urlencoded; charset=utf-8", "application/json; charset=utf-8"),
    HEAD("HEAD", "application/x-www-form-urlencoded; charset=utf-8", "application/json; charset=utf-8"),
    OPTIONS("OPTIONS", "application/x-www-form-urlencoded; charset=utf-8", "application/json; charset=utf-8");

    private String value;
    private String requestContentType;
    private String acceptContentType;

    private HttpMethod(String value, String requestContentType, String acceptContentType) {
        this.value = value;
        this.requestContentType = requestContentType;
        this.acceptContentType = acceptContentType;
    }

}
